<?php /*a:6:{s:71:"/Applications/MAMP/htdocs/voice/application/admin/view/index/index.html";i:1572919079;s:78:"/Applications/MAMP/htdocs/voice/application/admin/view/_public/index_page.html";i:1572919079;s:79:"/Applications/MAMP/htdocs/voice/application/admin/view/_public/public_head.html";i:1572919079;s:80:"/Applications/MAMP/htdocs/voice/application/admin/view/_public/index_header.html";i:1572919079;s:81:"/Applications/MAMP/htdocs/voice/application/admin/view/_public/index_sidebar.html";i:1572919079;s:80:"/Applications/MAMP/htdocs/voice/application/admin/view/_public/index_footer.html";i:1572919079;}*/ ?>
<!doctype html>
<html lang="zh-cn">
<head>
    <title><?php echo htmlentities(app('config')->get('app_name')); ?></title>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" href="/static/admins/static/css/font.css">
    <link rel="stylesheet" href="/static/admins/static/css/weadmin.css">
    <link rel="stylesheet" href="/static/admins/static/css/liteadmin.css">
    <script type="text/javascript" src="/static/admins/lib/layui/layui.js" charset="utf-8"></script>
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?2f4623b47bd40e7fc01c346fa2fa4daa";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <script>
        // layui.extend({
        //     admin: '{/}/static/admins/static/js/admin',
        //     background: '{/}/static/admins/static/js/background',
        //     liteadmin: '{/}/static/admins/static/js/liteadmin',
        //     'browser-md5-file': '{/}/static/admins/static/js/browser-md5-file',
        // });
        layui.config({
            // base: '/static/admins/lib/layui/lay/modules/',
            base: '/static/admins/static/js/',
            version: '101100'
        }).use(['admin','liteadmin']);
    </script>
    <style>
        .layui-table{
            width: 1px;
            white-space: nowrap; /* 自适应宽度*/
            word-break:  keep-all; /* 避免长单词截断，保持全部 */
            min-width: 100%;
        }
    </style>
</head>
<body>
<!-- 顶部开始 -->
<div class="container">
    <div class="logo">
        <a href="<?php echo url('admin/index/index'); ?>">语音库v1.0</a>
    </div>
    <div class="left_open">
        <i title="展开左侧栏" class="iconfont">&#xe699;</i>
    </div>
    <ul class="layui-nav left fast-add" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:;">系统操作</a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd>
                    <a data-post="<?php echo url('admin/index/clearCache'); ?>" data-confirm="确定要操作吗？"><i class="iconfont">&#xe6a2;</i>清理缓存</a>
                </dd>
            </dl>
        </li>
    </ul>
    <ul class="layui-nav right" lay-filter="">
        <?php if(empty(app('session')->get('admin')) || ((app('session')->get('admin') instanceof \think\Collection || app('session')->get('admin') instanceof \think\Paginator ) && app('session')->get('admin')->isEmpty())): ?>
        <li class="layui-nav-item">
            <a href="<?php echo url('admin/login/login'); ?>">登陆</a>
        </li>
        <?php else: ?>
        <li class="layui-nav-item">
            <a href="javascript:;"><?php echo htmlentities(app('session')->get('admin.name')); ?></a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a data-modal='<?php echo url("admin/index/editProfile",["id"=>session("admin.id")]); ?>' data-area="80%,80%" data-title="修改个人信息">个人信息</a></dd>
                <dd><a data-modal='<?php echo url("admin/index/password",["id"=>session("admin.id")]); ?>' data-area="80%,80%" data-title="修改密码">更改密码</a></dd>
                <dd><a href="<?php echo url('admin/login/logout'); ?>">退出</a></dd>
            </dl>
        </li>
        <?php endif; ?>
        <li class="layui-nav-item to-index">
            <a href="<?php echo url('index/index/index'); ?>" target="_blank">前台首页</a>
        </li>
    </ul>
</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            <?php if(is_array($menus) || $menus instanceof \think\Collection || $menus instanceof \think\Paginator): $i = 0; $__LIST__ = $menus;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$one): $mod = ($i % 2 );++$i;?>
            <li>
                <a href="javascript:;" _href="<?php echo htmlentities($one['url']); ?>" data-id="<?php echo htmlentities($one['id']); ?>">
                    <i class="iconfont"><?php echo htmlentities($one['icon']); ?></i>
                    <cite><?php echo htmlentities($one['title']); ?></cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <?php if(!(empty($one['_child']) || (($one['_child'] instanceof \think\Collection || $one['_child'] instanceof \think\Paginator ) && $one['_child']->isEmpty()))): if(is_array($one['_child']) || $one['_child'] instanceof \think\Collection || $one['_child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $one['_child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$two): $mod = ($i % 2 );++$i;?>
                <ul class="sub-menu">
                    <li>
                        <a href="javascript:;"  _href="<?php echo htmlentities($two['url']); ?>" data-id="<?php echo htmlentities($two['id']); ?>">
                            <i class="iconfont"><?php echo htmlentities($two['icon']); ?></i>
                            <cite><?php echo htmlentities($two['title']); ?></cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </a>
                        <?php if(!(empty($two['_child']) || (($two['_child'] instanceof \think\Collection || $two['_child'] instanceof \think\Paginator ) && $two['_child']->isEmpty()))): if(is_array($two['_child']) || $two['_child'] instanceof \think\Collection || $two['_child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $two['_child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$three): $mod = ($i % 2 );++$i;?>
                        <ul class="sub-menu">
                            <li>
                                <i class="iconfont"><?php echo htmlentities($three['icon']); ?></i>
                                <a href="javascript:;" _href="<?php echo htmlentities($three['url']); ?>" data-id="<?php echo htmlentities($three['id']); ?>">
                                    <cite><?php echo htmlentities($three['title']); ?></cite>
                                </a>
                            </li>
                        </ul>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                        <?php endif; ?>
                    </li>
                </ul>
                <?php endforeach; endif; else: echo "" ;endif; ?>
                <?php endif; ?>
            </li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
</div>
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-filter="wenav_tab" id="WeTabTip" lay-allowclose="true">
        <ul class="layui-tab-title" id="tabName">
            <li>我的桌面</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='<?php echo url("admin/index/dashboard"); ?>' frameborder="0" scrolling="yes" class="weIframe"></iframe>
            </div>
        </div>
    </div>
</div>
<div class="page-content-bg"></div>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<!-- 底部开始 -->
<div class="footer">
    <div class="copyright">©<?php echo date('Y'); ?> 语音库 版权所有</div>
</div>
<!-- 底部结束 -->
<script type="text/javascript">

</script>



</body>
<!--Tab菜单右键弹出菜单-->
<ul class="rightMenu" id="rightMenu">
    <li data-type="fresh">刷新</li>
    <li data-type="current">关闭当前</li>
    <li data-type="other">关闭其它</li>
    <li data-type="all">关闭所有</li>
</ul>
</html>